// JavaScript Document
function checkAll(theForm, cName, status) {
	for (i=0,n=theForm.elements.length;i<n;i++)
		if (theForm.elements[i].className.indexOf(cName) !=-1) {
		theForm.elements[i].checked = status;
	}
}
function frmSubmit(theForm,urlForm){
	document.getElementById(theForm).action = urlForm;
	document.getElementById(theForm).submit();
}
function redirect(url){
    window.location = url;
}
function confirmDelete(){
	var check = confirm("Are you sure to delete?");	
	if(check)
		return true;
	else
		return false;
}


